/* @override http://localhost:81/CodeIgniter/codex/assets/css/codex_default.css */

/* @group Reset */

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	font-size: 100%;
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* @end */

/* @group Typography */

/* Typography */


body {
	margin: 0;
	padding: 0;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	font-size: 76%;/* font sizing in ems, baby. if you want to change anything, just change this.*/
	/*funny thing happens at 75% and lower. opera goes to a nice small size, but moz and ie pc change almost not at all. seems 76% is as small as you can go and stay the same across browsers. poop.*/

	}

a {
	font-weight: bold;
	}
a:link {
	}
a:visited {
	}
a:active {
	}
a:hover{
	text-decoration: underline;
	color: #000;
}
h1 {
	font-size: 2.0em;
	font-weight: normal;
	margin-top: 0em;
	margin-bottom: 0em;
	}
h2 {
	font-size: 1.7em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: normal;
	}
h3 {
	font-size: 1.4em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: normal;
	}
h4 {
	font-size: 1.2em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: bold;
	}
h5 {
	font-size: 1.0em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: bold;
	}
h6 {
	font-size: 0.8em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: bold;
	}
img {
	border: 0;
	}
ol, ul, li {/*
	list-style: none;*/
	font-size: 1.0em;
	line-height: 1.8em;
	margin-top: 0.2em;
	margin-bottom: 0.1em; 
	}
p {
	font-size: 1.0em;
	line-height: 1.8em;
	margin: 1.2em 0em 1.2em 0em;
	}
li > p {
	margin-top: 0.2em;
	}
pre {/*moz 1.0/1.1/1.2.1, net 7.0/7.01 make this way too small, but i'm not going to go larger because monospace tends to run you into overflow pretty quick. prior moz and net are okay.*/
	font-family: monospace;
	font-size: 1.0em;
	}
strong, b {
	font-weight: bold;
	}

/* @end */

/* Layout */
#header{
	padding: 15px 20px;
	background: #2c792b;
}
#header h1 a{
	font-weight: bold;
	color: white;
	text-decoration: none;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}
#navigation ul{
	padding: 4px 2px;
	margin: 0;
	background: #104d17;
}
#navigation li{
	display: inline;
	padding-left: 20px;
}
#navigation a{
	color: white;
	padding: 2px;
	font-weight: normal;
}
#navigation a:hover,#header h1 a:hover{
	background: #082a0c;
}
#login-nav{
	float: right;
	margin: 10px 20px 0 0;
	padding: 10px;
	background: #f6f6f7;
}
.clear{
	clear: both;
}
#sub-header-left{
	float: left;
}
#add-new{
	margin: 10px 0 0 20px;
}
#messages{
	margin: 10px 20px 0 20px;
}
.success, .failure, .info{
	margin-bottom:10px;
}
.success{
	color: #195a20;
	background-color: #cdfed5;
	padding: 5px;
	border: 1px solid #74b842;
}
.failure{
	color: #581f23;
	background-color: #fbb6bb;
	padding: 5px;
	border: 1px solid #b3241b;
}
.info{
	color: #595a1d;
	background-color: #f8febd;
	padding: 5px;
	border: 1px solid #b6b84d;
}
/* Table */
table{
	width: 100%;
	padding: 0 20px;
}
	th{
		padding: 5px 10px;
		font-weight: bold;
		background: #e3e5e9;
		border-bottom: 2px #b3b9c5 solid;
	}
	td{
		padding: 3px 10px;
		border-left: 1px #b3b9c5 solid;
	}
	td.first{
		border: none;
	}
	tr:hover{
		background-color: #b9c4db;
	}
	.odd{
		background-color: #e6edf2;
	}
	.even{
		background-color: #f7f9fe;
	}
.pagination-links{
	margin: 10px 0 0 20px;
}
	.pagination-links a{
		padding: 2px;
	}
#delete-selected{
	margin: 20px;
}
#codex-crumbs{
	margin: 10px 20px;
	color: #484848;
}
	#codex-crumbs a{
		text-decoration: none;
		color: #484848;
		font-size: 120%;
	}
	#codex-crumbs a:hover{
		color: black;
		text-decoration: underline;
	}
	.codex-crumbs-separator{	
		font-size: 14px;
	}

/* Login form */
.codex-login-form{
	font-size: 120%;
	width: 300px;
	margin: 40px auto;
	padding: 20px;
	background-color: #f3f3f3;
	border: 10px solid #8a8a8a;
}
	.codex-login-form label{
	}
	.codex-login-form input{
		width: 100%;
		font-size: 80%;
		display: block;
		padding: 5px;
		margin-bottom: 10px;
		margin-top: 10px;;
	}
	.codex-login-form h2{
		margin: 0;
	}

/*  Form */
.codex-form{
	margin: 0 20px 20px 20px;
}
	.codex-form .codex-table{
		padding: 0;
		margin: 0;
	}
	.codex-form .form-element{
		padding: 10px;
		margin: 10px 0;
		background-color: #fafafa;}
	.codex-form .form-element-text{
		margin-left: 150px;
		margin-bottom: 10px;
		color: #3f5394;
	}
	.codex-form .loading{
		padding: 10px 0;
		display: none;
		margin-left: 150px;
	}
	.codex-form label{
		float: left;
		font-weight: bold;
		width: 150px;
		color: #3f5394;
	}
	.codex-form .radio-group{
		margin-left: 150px;
	}
	.codex-form .radio-group input{
		float: left;
	}
	.codex-form fieldset{
		clear: both;
		padding: 20px;
		border: 3px solid #9baad6;
	}
	.codex-form legend{
		font-size: 120%;
		padding: 10px;
		color: #3f5394;
        background-color: #f6f6f7;
    }
	.codex-form #permissions-form label{
		
	}
	.codex-form .permissions-form-left select{
		width: 150px;
	}
	.codex-form .permissions-form-left{
		float: left;
		padding-right: 20px;
	}
	.codex-form .codex-relational-form{
		width: 500px;
		background-color: #fff;
		padding: 20px;
		margin: 20px 0 10px 150px;
		border: 3px solid #b3b9c5;
	}
	.codex-form .codex-relational{
		width: 70%;
	}
	.codex-form .codex-relational-form-close{
		text-align: center;
		width: 100%;
		display: block;
		padding: 10px 0;
		background-color: #e0686c;
		color: white;
	}
	.codex-form .codex-relational-form .form-element{
		background: none;
	}
.header {
	background-image: url(../images/updown.png);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
.headerSortUp {
	background-image: url(../images/desc.png);
}
.headerSortDown {
	background-image: url(../images/asc.png);
}
.headerSortDown, .headerSortUp {
	background-color: #f6fafe;
}
